package com.hdax.dm.mapstrucs;

import com.hdax.dm.dto.IndexNavDto;
import com.hdax.dm.dto.SortgoodsDto;
import com.hdax.dm.entity.item.DmItem;
import com.hdax.dm.entity.item.DmItemType;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public abstract class SortgoodsDtoMapper {

    public abstract SortgoodsDto toTarget(DmItemType itemType);

    public abstract List<SortgoodsDto> toTargets(List<DmItemType> itemTypes);
}
